Package-level declarations

Types

Link copied to clipboard

Base class for a non-successful HTTP response from ElevenLabs.

Link copied to clipboard
data class ElevenLabsErrorDetails(val statusCode: Int?, val message: String, val requestId: String? = null, val responseBody: String? = null, val errorCode: String? = null, val validationErrors: List<ElevenLabsValidationError> = emptyList())

Structured details associated with a failed ElevenLabs operation.

Link copied to clipboard

Stable, transport-independent category for an SDK failure.

Link copied to clipboard

Base exception for failures produced by the ElevenLabs SDK.

Link copied to clipboard
data class ElevenLabsValidationError(val location: List<String>, val message: String, val type: String? = null)

One field-level validation failure returned by ElevenLabs.

Link copied to clipboard

The request failed before an HTTP response was received.

Link copied to clipboard

A realtime WebSocket protocol error or unexpected server close.

Link copied to clipboard

A successful response or realtime message could not be decoded.

Link copied to clipboard

The request or realtime operation exceeded a configured timeout.

Link copied to clipboard

An unexpected SDK or transport failure that could not be classified more precisely.